Home
last modified time | relevance | path

Searched hist:"992809 bf" (Results 1 – 1 of 1) sorted by relevance

/qemu/
H A Dqemu-nbd.c992809bf Mon Nov 30 12:36:51 GMT 2020 Alex Chen <alex.chen@huawei.com> qemu-nbd: Fix a memleak in qemu_nbd_client_list()

When the qio_channel_socket_connect_sync() fails
we should goto 'out' label to free the 'sioc' instead of return.

Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Alex Chen <alex.chen@huawei.com>
Message-Id: <20201130123651.17543-1-alex.chen@huawei.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Eric Blake <eblake@redhat.com>